//---------------------------------------------------------------------------

#ifndef uniMainH
#define uniMainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Menus.hpp>
#include <AppEvnts.hpp>
#include <ImgList.hpp>
#include <ExtCtrls.hpp>
#include "trayicon.h"
#include "ttPanel.h"

//---------------------------------------------------------------------------
class TfrmMain : public TForm
{
__published:	// IDE-managed Components
    TTrayIcon *tray;
    TPopupMenu *pmMain;
    TImageList *imgLisg;

    TMenuItem *miExit;
    void __fastcall trayClick(TObject *Sender);
    void __fastcall miExitClick(TObject *Sender);
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall FormDestroy(TObject *Sender);

private:	// User declarations
    bool m_isHidden;
    TTPanel * m_pnlMain;
    void __fastcall AcceptFiles(TMessage& Msg);
protected:

public:		// User declarations
    __fastcall TfrmMain(TComponent* Owner);
//    BEGIN_MESSAGE_MAP
//    MESSAGE_HANDLER(WM_DROPFILES,TMessage,AcceptFiles)
//    END_MESSAGE_MAP(TForm)
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmMain *frmMain;
//---------------------------------------------------------------------------
#endif
